<?php
echo "<hr/>";
foreach(glob("upload_pic/*.jpg") as $file){
 echo "<img src = '$file'/>";
}
 echo "<hr/>";
?>
